﻿using Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace IDAL
{
    public interface IDoctorDAL
    {
        /// <summary>
        /// 医生显示接口
        /// </summary>
        /// <returns></returns>
        List<Doctor> GetDoctorsList(string Doctorname);

        /// <summary>
        /// 医生添加接口
        /// </summary>
        /// <param name="doctor"></param>
        /// <returns></returns>
        int AddDoctorDAL(Doctor doctor);
        /// <summary>
        /// 修改接口
        /// </summary>
        /// <param name="doctor"></param>
        /// <returns></returns>
        int UpdateDoctorDAL(Doctor doctor);
        /// <summary>
        ///获取医生详情id
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Doctor GetDoctorById(int id);
        

    }
}
